package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallStoreDao;
import com.appkubes.mall.core.entity.MallStore;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallStoreService extends AbstractBaseService<BaseMallStoreDao, MallStore> {

    MallStore getOneByEntity(MallStore entity);

    List<MallStore> selectListByEntity(MallStore entity);

    IPage<MallStore> selectPageByEntity(IPage<MallStore> page);
    IPage<MallStore> selectPageByEntity(PageVO pageVO);

    IPage<MallStore> selectPageByEntity(MallStore entity, IPage<MallStore> page);
    IPage<MallStore> selectPageByEntity(MallStore entity, PageVO pageVO);

    IPage<MallStore> selectPageByEntity(MallStore entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallStore entity);
}
